##!/usr/bin/python2
## -*- coding: utf-8 -*-
<%page args="shot, page" />
<%
from pygolem_lite.web import make_config, get_page_paths, make_image
from pygolem_lite import Shot
page_path, base_path, page = get_page_paths(shot, page)
%>
<a href="main.py">[Source - main.py]</a><br/>
<a href="IDA.py">[Source - IDA.py]</a><br/>
<h2> Integrated data analysis - radiation </h2>
% if Shot(shot)['plasma']:
${make_image("graphs/IDA_ions_projections.png" , "Composed spectra projection")}
${make_image("graphs/spectrometer_retrofit.png" , "Spectrometer data retrofit")}
${make_image("graphs/photodiodes_retrofit.png" , "Other data retrofit")}
${Shot(shot).get_pygolem_list(['IDA:IDA_ions_projections'])}
%else:
<h2>No plasma</h2>
%endif